#pragma once
#include "IModel.h"
#include "ExcelHelper.h"
class ModelImpl:public IModel
{
public:
	ModelImpl(void);
	~ModelImpl(void);
	vector<Entity> list;
	vector<Entity> loadData(CString strFilePath,long &frameRate);
	void saveData(Entity entity);
	void saveToExcel(long frameRate);
	void deleteData(Entity entity);
	vector<Entity> getData();
	Entity getSelectListItem(int mark);
	bool exportSubtitle(CString exportPath,long frameRate);
	void moveUp(Entity entity);
    void moveDown(Entity entity);

	int rowMax;
	int colMax;
};

